package com.chixing.day05_oop.work;

public class Order {
    private Integer orderId;
    private Integer orderNumber;

    public Order(Integer orderId, Integer orderNumber) {
        this.orderId = orderId;
        this.orderNumber = orderNumber;
    }

    public Order() {
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderNumber=" + orderNumber +
                '}';
    }
}
